<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="format-detection" content="telephone=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <script src="/js/resize.js"></script>
    <% include baiduTJ.html %>
    <link rel="stylesheet" href="/css/myreset.min.css">
    <link rel="stylesheet" href="/home/css/index.css">
    <link rel="stylesheet" href="/css/animate.css">
    <title><%= title %></title>
</head>
<body>
<div class="container">
    <div class="cloud-l animated slideInLeft"></div>
    <div class="cloud-r animated slideInRight"></div>
    <div class="word animated zoomInUp"></div>
    <div class="bg-mo animated myani"></div>
    <div class="green-house animated fadeInLeftBig"></div>
    <div class="red-house animated fadeInRightBig"></div>
    <div class="buycart-l animated fadeInLeftBig"></div>
    <div class="buycart-r animated fadeInRightBig"></div>
    <div class="person animated"></div>
    <div class="rule animated fadeIn"></div>

    <% if (timeflag == 1){ %>
    <div class="begin animated fadeIn"></div>
    <div class="click-area animated fadeIn"></div>
    <% } else if (timeflag == 2) { %>
    <div class="begin-disabled animated fadeIn"></div>
    <div class="end-word animated fadeIn"></div>
    <% } else { %>
    <div class="toplist-btn animated fadeIn"></div>
    <div class="toplist-word animated fadeIn"></div>
    <% } %>

</div>

<div class="loading" id="loading">
    <div class="cart"></div>
    <div class="line">
        <div class="inner"></div>
    </div>
    <div class="word">
        <span>0</span> %
    </div>
</div>


<script src="/js/zepto.1.1.6.min.js"></script>
<script src="/home/js/index.js"></script>
<script src="/js/base.2.0.js"></script>
<script src="/js/jweixin-1.0.0.js"></script>
<script src="/js/weixin.js"></script>
<% include wxshare.html %>

<% include music.html %>

<script>
    $(".begin").on("tap", function () {
        playBtn(function () {
            window.location.href = "/index/main?openid=" + getQueryString("openid");
        });
        return false;
    });

    $(".rule").on("tap", function () {
        playBtn(function () {
            window.location.href = "/index/rule?openid=" + getQueryString("openid");
        })
        return false;
    });

    $(".bg-mo").on(aniend, function () {
        $(this).removeClass("myani");
    });

    $(".red-house").on(aniend, function () {
        playCart();
    });

    $(".buycart-l").on(aniend, function () {
        playJump();
    })

    $(".click-area").on("tap", function () {
        window.location.href = "http://scb.helloshineshow.com/pl-card/index.html?pid=WechatCart";
        return false;
    });

    $(".toplist-btn").on("tap", function () {
        playBtn(function () {
            window.location.href = "/index/menu?openid=" + getQueryString("openid");
        });
        return false;
    })
</script>
</body>
</html>